package common

type LiveTaskExecutor interface {
	StartLiveTask(roomId, msgType, gameName string) ([]byte, error)
	StopLiveTask(roomId, msgType, gameName string) ([]byte, error)
}

var TaskExecutor LiveTaskExecutor

func RegisterLiveTaskExecutor(exec LiveTaskExecutor) {
	TaskExecutor = exec
}
